package com.wxzz.elearing.evaluation.entity;

import java.math.BigDecimal;

import com.baomidou.mybatisplus.annotation.TableField;
import com.wxzz.elearning.common.bean.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * <p>
 * 测评题答案选项
 * </p>
 *
 * @author
 * @since 2021-04-10
 */
@Data
@ApiModel(value = "TopicAnswer对象", description = "测评题答案选项")
public class TopicAnswer extends BaseEntity {

    @ApiModelProperty(value = "答案")
    private String answer;

    @ApiModelProperty(value = "选项")
    private String item;

    @ApiModelProperty(value = "分数")
    private BigDecimal score;

    @ApiModelProperty(value = "题目id")
    private Long topicId;

    @TableField(exist = false)
    @ApiModelProperty(value = "是否做过 0-否 1-是 ")
    private Boolean isChoose = false;

}
